
<html lang="en">
<head>
	<meta charset="UTF-8">
	<title>Title</title>
</head>
<body>
<?php
    $math=70;
    $wysj=80;      
    $js=60;
    $ave =(($math+$wysj+$js)/3);
    
    
    define('pi', 3.1415926);
    define('DRPAIH','C:/wamp/www/'); 
    echo DRPAIH."bbs/index01.php";
    const pi02 = 3.14;
    echo pi02;
    echo pi;
            ?>
            <table>
                <tr>
                    <th>课程</th>
                    <th>分数</th>
                </tr>
                    <tr>
                        <th>math</th>
                        <th><?php echo "$math";    ?></th>
                    </tr>
                    <tr>
                        <th>wysj</th>
                        <th><?php echo "$wysj";   ?></th>
                    </tr>
                    <tr>
                        <th>js</th>
                        <th><?php echo "$js";  ?></th>
                    </tr>
                    <tr>
                        <th>ave</th>
                        <th><?php echo "$ave";   ?></th>
                    </tr>
            
            </table>
</body>
</html>